<fieldset>
    <legend>条件搜索</legend>
    <form action="{$request->url()}" autocomplete="off" class="layui-form layui-form-pane form-search" method="get" onsubmit="return false">

        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">名称</label>
            <label class="layui-input-inline">
                <input class="layui-input" name="name" placeholder="请输入名称" value="{$get.name|default=''}">
            </label>
        </div>

        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">公证处</label>
            <div class="layui-input-inline">
                <label class="layui-input-inline">
                    <select class="layui-select" lay-search name="notarial_office_id">
                        <option value="">-- 全部分类 --</option>
                        {foreach $cates as $cate}{if input('notarial_office_id') eq $cate.id}
                        <option selected value="{$cate.id}">{$cate.name|default=''}</option>
                        {else}
                        <option value="{$cate.id}">{$cate.name|default=''}</option>
                        {/if}{/foreach}
                    </select>
                </label>
            </div>
        </div>

        <div class="layui-form-item layui-inline">
            <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
        </div>
    </form>
</fieldset>